package main

import (
	"fmt"
	"strconv"
)

func main() {
	fmt.Println("请输入一个整数：")
	var num int
	x := ""
	fmt.Scanln(&num)
	str := strconv.Itoa(num)
	len := len(str)
	for i := 0; i < len; i++ {
		x += strconv.Itoa(num % 10)
		num /= 10
	}
	fmt.Println(x)
}
